﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl" %>
<%@ Import Namespace="Helpers" %>
<ul>      
            <%--home  --%>    
          <% if (Html.IsCurrentAction("Index", "Home")) { %>
            <li class="first active"><span class="active"></span><%= Html.ActionLink("Главная", "Index", "Home") %></li>
          <% } else { %>
            <li class="first"><%= Html.ActionLink("Главная", "Index", "Home") %></li>
          <% }%>
          
          <%--Information--%>
          <% if (Html.IsCurrentAction("Information", "Home"))
             { %>
            <li class="first active"><span class="active"></span><%= Html.ActionLink("Новости", "Information", "Home")%></li>
          <% } else { %>
            <li class="first"><%= Html.ActionLink("Новости", "Information", "Home")%></li>
          <% }%>
          
           <%--about--%>
          <% if (Html.IsCurrentAction("TargetBusiness", "Home"))
             { %>
            <li class="active"><span class="active"></span><%= Html.ActionLink("Целевые сферы бизнеса", "TargetBusiness", "Home")%></li>
          <% } else { %>
            <li><%= Html.ActionLink("Целевые сферы бизнеса", "TargetBusiness", "Home")%></li>
          <% }%>   
          
          <%--ChoiceHelp--%>
          <% if (Html.IsCurrentAction("ChoiceHelp", "Home"))
             { %>
            <li class="active"><span class="active"></span><%=Html.ActionLink("Трудности выбора", "ChoiceHelp", "Home")%></li>
          <% } else { %>
            <li><%=Html.ActionLink("Трудности выбора", "ChoiceHelp", "Home")%></li>
          <% }%>            
          
          <%--about--%>
          <% if (Html.IsCurrentAction("StartWork", "Home"))
             { %>
            <li class="active"><span class="active"></span><%= Html.ActionLink("Начинаем работу", "StartWork", "Home") %></li>
          <% } else { %>
            <li><%= Html.ActionLink("Начинаем работу", "StartWork", "Home") %></li>
          <% }%>             
           <%--Register      --%>    
          <%  if (!Request.IsAuthenticated)
              if (Html.IsCurrentAction("Register", "Company"))
             { %>
            <li class="active"><span class="active"></span><%= Html.ActionLink("Регистрация компании", "Register", "Company") %></li>
          <% } else { %>
            <li><%= Html.ActionLink("Регистрация компании", "Register", "Company") %></li>
          <% }%>
          <%--Обратная связь--%>
          <% if (Html.IsCurrentAction("feedback", "Home"))
             { %>
            <li class="active"><span class="active"></span><%= Html.ActionLink("Обратная связь", "feedback", "Home") %></li>
          <% } else { %>
            <li><%= Html.ActionLink("Обратная связь", "feedback", "Home") %></li>
          <% }%>    
          <%--Оплата--%>
<%--          <% if (Html.IsCurrentAction("Payment", "Home"))
             { %>
            <li class="active"><span class="active"></span><%= Html.ActionLink("Смс-оплата", "Payment", "Home")%></li>
          <% } else { %>
            <li><%= Html.ActionLink("Смс-оплата", "Payment", "Home")%></li>
          <% }%>                      --%>
    </ul>